package cn.stylefeng.guns.modular.launchpad.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


@Data
@TableName("launchpad_receive")
@Accessors(chain = true)
public class Receive implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 项目id
     */
    @TableField("product_id")
    private Long productId;

    /**
     * 用户id
     */
    @TableField("member_id")
    private Long memberId;

    /**
     * 领取币种
     */
    @TableField("receive_coin")
    private String receiveCoin;

    /**
     * 领取数量
     */
    @TableField("receive_num")
    private String receiveNum;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;


    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;

    @TableField(exist = false)
    private String accountName; // 账户名

    @TableField(exist = false)
    private String productCoin; // 项目币名

}
